package cn.neusoft.domain;

import java.sql.Date;
import java.util.HashMap;
import java.util.Map;

public class CargoBuyBill {
    private int id;
    private java.sql.Date date;
    private Map<String, Double> cargosInf;
    private String stage;
    private String warehouseName;

    public void setListToEmpty(){
        cargosInf = new HashMap<String, Double>();
    }


    public CargoBuyBill(Date date, Map<String, Double> cargosInf, String stage, String warehouseName) {
        this.date = date;
        this.cargosInf = cargosInf;
        this.stage = stage;
        this.warehouseName = warehouseName;
    }

    public CargoBuyBill() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Map<String, Double> getCargosInf() {
        return cargosInf;
    }

    public void setCargosInf(Map<String, Double> cargosInf) {
        this.cargosInf = cargosInf;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }
}
